package cn.tedu.project.oa.attendanceRule.service;

import cn.tedu.project.oa.attendanceRule.pojo.entity.WorkingShift;
import cn.tedu.project.oa.attendanceRule.pojo.param.WorkingShiftSelectParam;
import cn.tedu.project.oa.attendanceRule.pojo.vo.WorkingShiftVO;

import java.util.List;

public interface IWorkingShiftService {
    /**
     * 查询班次
     *
     * @param id 班次主键
     * @return 班次
     */
    public WorkingShift selectWorkingShiftById(Long id);

    /**
     * 查询班次列表
     * @return 班次集合
     */
    public List<WorkingShiftVO> selectWorkingShiftList(WorkingShiftSelectParam workingShiftSelectParam);

    /**
     * 新增班次
     *
     * @param workingShift 班次
     * @return 结果
     */
    public int insertWorkingShift(WorkingShift workingShift);


    /**
     * 删除班次信息
     *
     * @param id 班次主键
     * @return 结果
     */
    public int deleteWorkingShiftById(Long id);
}
